<template>
	<view>
		<head-box></head-box>
		<view class="top_cj">共计爱心捐赠<text class="tj">1388</text>元</view>
		<view class="donations_list">
			<view class="donations_item_body" v-for="item,index in 8" :key="index">
				<view class="donations_item" >
					<view class="wl">
						<img src="/static/img/logo1.png"></img>
					</view>
					<view class="wc">
						<view class="donations_item_title">冬天里的温暖</view>
						<view class="donations_item_time">2021-03-03 11:12:13</view>
					</view>
					<view class="wr">
						+ 8{{index}}.00元
					</view>
				</view>
				<view class="donations_item2" >
					羽绒衣 200 件 , 校服 2000件 , 围巾 200 条
				</view>
			</view>
		</view>
		<tabs-box></tabs-box>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
    onShow(){
      // #ifdef H5
      console.log('分享')
      this.$wxSetShare()
      // #endif
    },
	}
</script>

<style lang="scss">
	.top_cj
	{
		background-color: #f6f6f6;
		padding: 40rpx 30rpx;
		font-size: 30rpx;
		text-align: right;
		text{
			margin: 0 10rpx;
			font-weight: bold;
			color: #eeb73a;
		}
	}
	.donations_list{
		padding: 0 30rpx;
		margin-bottom: 140rpx;
		.donations_item2{
			font-size: 30rpx;
			line-height: 50rpx;
			border-bottom: 1px solid #f6f6f6;
			padding-bottom: 30rpx;
			color: #d1d1d1;
			padding-left: 110rpx;
		}
		.donations_item{
			text-align: left;
			color: #363636;
			display: flex;
			flex-direction: row;
			.wl{
				width: 110rpx;
				img{
					width: 80rpx;
					height: 80rpx;
					border-radius: 50%;
				}

				padding: 40rpx 0 20rpx 0;
			}
			.wr{
				width: 150rpx;
				font-size: 30rpx;
				text-align: right;
				font-weight: bold;
				padding: 40rpx 0 20rpx 0;
			}
			.wc{
				width:calc(100% - 270rpx);
				padding: 40rpx 0 20rpx 0;
				.donations_item_title{
					font-size: 30rpx;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;

				}
				.donations_item_time{
					font-size: 24rpx;
					padding-top: 10rpx;
					color: #d1d1d1;
				}
			}
		}

	}
</style>
